package com.example.hibernate.demo.entity;

import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.Table;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Entity
@Table(name = "bank_transfer_payments")
@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@AllArgsConstructor
public class BankTransferPayment extends Payment {
    
    @Column(length = 50)
    private String bankName;
    
    @Column(length = 50)
    private String accountNumber;
    
    @Column(length = 50)
    private String accountHolderName;
}